#include "Util.h"

int kPTM_RATIO = 32;
cocos2d::CCPoint Box2DGravity = CCPointMake(0.0f, -10.0f);


float MaxForceForMove = 0.2f;
float MaxForceForShoot = 1.5f;
float MaxRangeRadiusForShoot = 60.0f;
float BucketForce = 110.0f;

//tag
int kGameLayerTag = 100;
int kBackgroundTag = 101;


int kBucketTag = 209;
int kBallTag = 210;
int kBallDirectionArrowTag = 320;
int kShootCircleTag = 321;
int kShootRangeTag = 322;
int kShootPathTag = 323;
int kCoinTag = 324;

//Zorder
int kBackgroundZOrder = -1;
int kGameLayerZOrder = 0;
int kBallZOrder = 100;
int kBucketZOrder = 101;
int kCoinZOrder = 102;
//
int kGameLayerTouchPriority = 0;
int kBallTouchPriority = -1;

//
float kStillSpeed = 0.7f;

b2World* gBoxWorld;

char* gPlistPath = "Setting.plist";
CCDictionary* gPlistDic = NULL;

void InitUtil()
{
	gPlistDic = CCDictionary::createWithContentsOfFileThreadSafe(gPlistPath);
}